package Main;

public class OneStep implements Comparable{

	public int x;
	public int y;
	public int color;
	public int score;
	
	public OneStep(int _x, int _y, int c){
		x = _x;
		y = _y;
		color = c;
	}

	@Override
	public int compareTo(Object other) {
		if (score > ((OneStep)other).score ){
			return 1;
		}else if(score == ((OneStep)other).score){
			return 0;
		}
		return 1;
	}
}
